﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="today.aspx.cs" Inherits="AnyOffice.general.calendar.manage.today" %>

<%@ Register TagPrefix="daypilot" Namespace="DayPilot.Web.Ui" Assembly="DayPilot" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>日程安排</title>
		
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<script Language="JavaScript">
window.setTimeout('this.location.reload();',60000);
		</script>
		<script>
my_top=50;
my_left=50;

function my_note(CAL_ID)
{
  my_top+=25;
  my_left+=15;

  window.open("note.aspx?cal_id="+CAL_ID,"note_win"+CAL_ID,"height=170,width=180,status=0,toolbar=no,menubar=no,location=no,scrollbars=auto,top="+ my_top +",left="+ my_left +",resizable=no");
}
		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
				<tr>
					<td class="Big"><img src="/images/menu/calendar.gif" align="absMiddle"><span class="big3">
							今日日程（<asp:Literal id="litToday" runat="server"></asp:Literal>）</span>
					</td>
				</tr>
			</table>
			<br>
			<!-- NavigateEditUrl="" NavigateDeleteUrl="" NavigateKey="cal_id"-->
			<DayPilot:DayPilotCalendar id="DayPilotCalendar1" runat="server" Width="95%" 
				 PkColumnName="CalId" BeginColumnName="StartTime" EndColumnName="EndTime" NameColumnName="Content"
				JavaScriptEventAction=" my_note({0})" JavaScriptFreeAction=" " BusinessBeginsHour="8" BusinessEndsHour="22"></DayPilot:DayPilotCalendar>
			<br>
			<div align="center">
				<asp:Literal id="litMessage" runat="server"></asp:Literal>
				<input type="button" value="返回" class="BigButton" onClick="location='arrange.aspx';">
			</div>
		</form>
	</body>
</HTML>
